package com.oriental.manage.dao.specially;

import com.oriental.manage.pojo.specially.BatchMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: yutao
 * Date: 2017/4/20
 * Time: 17:18
 * Desc：
 */
public interface BatchMessageMapper {

    int insertModel(BatchMessage batchMessage);

    List<BatchMessage> queryBathcMessage(BatchMessage batchMessage);

    int updateById(BatchMessage batchMessage);

    int updateStatus(BatchMessage batchMessage);

    int updateStatusByList(@Param("status") String status,@Param("auditor") String auditor,@Param("batchMessages") List<BatchMessage> batchMessages);

}
